Skip to content

Fix LaunchDaemon installation and clarify plist stripping - #10

Merged
justsrc merged 2 commits into
mainfrom
fix-macos27-helper-install
Nov 21, 2026
Merged

justsrc merged 2 commits into
mainfrom
fix-macos27-helper-install

Conversation

@justsrc

@justsrc justsrc commented Nov 21, 2026

Copy link
Copy Markdown
Owner

On macOS 27, launchd refuses to load a LaunchDaemon plist that carries com.apple.quarantine. Extracting a browser-downloaded zip stamps this attribute on every file, cp preserves it, and launchctl bootstrap fails with Bootstrap failed: 5: Input/output error. The helper installs, but never registers.

Only the plist is stripped. The helper binary and dylibs keep the attribute and still start. On macOS 26 and earlier, xattr fails with "No such xattr" when the attribute is absent, and || true keeps the script running.

The macOS 27 release notes list this under Launch Daemons and Agents, item 166415497: https://developer.apple.com/documentation/macos-release-notes/macos-27-release-notes

@justsrc
justsrc merged commit 971613c into main Nov 21, 2026
19 checks passed
@justsrc
justsrc deleted the fix-macos27-helper-install branch November 21, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants